package com.zhw.cloud.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zhw.cloud.service.SystemService;


@RestController
public class SystemController {
	@Autowired
	private SystemService systemservice;
	@RequestMapping("/getName.do")
	public String getName(HttpServletResponse response,HttpServletRequest request) {
		return "ribbon_service--->"+systemservice.getName();
	}
}
